package com.itheima;

import com.itheima.mapper.UserMapper;
import com.itheima.pojo.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class Timetest {
    @Autowired
    private UserMapper userMapper;

    @Test
    public void AAtes(){
        User user = userMapper.findByUsername("wangba");
        System.out.println(user.toString());
    }
}
